When the guest(pv-on-hvm guest that cannot suspend) reboot in
LiveMigration, the disconnecting of src-side is not transmitted to
dist-side. As a result, the error processing on the dist side is not
executed.
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
XendCheckpoint.save(p2cwrite, dominfo, True, live, dst,
node=node)
finally:
- sock.shutdown()
+ sock.shutdown(2)
sock.close()
os.close(p2cread)
XendCheckpoint.save(sock.fileno(), dominfo, True, live,
dst, node=node)
finally:
+ sock.shutdown(2)
sock.close()
def domain_save(self, domid, dst, checkpoint=False):